package com.tairanchina.joat.core;

import com.tairanchina.joat.exception.JoatInstallException;

import java.util.List;

/**
 * Created by 周靖捷 on 2016/10/18.
 */
public interface PluginManager {
    PluginRegisterContext install(PluginInstaller installer) throws JoatInstallException;

    PluginRegisterContext update(PluginInstaller installer);

    PluginRegisterContext uninstall(PluginInstaller installer);

    PluginRegisterContext getInstalledPluginRegisterContext(String pluginId);

    List<PluginRegisterContext> list();
}
